package com.mars.basic.allmain.vo;

import com.mars.basic.allmain.po.RolePermission;
import lombok.Data;

@Data
public class RolePermissionVo {
    private Integer roleId;

    private Integer permissionId;

    public RolePermission build(){
        return RolePermission.builder()
                .permissionId(permissionId)
                .roleId(roleId)
                .build();
    }
}
